<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		var _t = getQueryString("title"); //获取地址栏参数
		var title = decodeURI(_t); //只需要转一次码
		alert(title);
		document.getElementsByTagName("title")[0].innerHTML = title;
		//获取地址栏参数的方法
		function getQueryString(name) {
			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
			var r = window.location.search.substr(1).match(reg);
			if (r != null) return unescape(r[2]); return null;
		}
	</script>
</html>